package com.lijy.action;

import com.lijy.bean.User;
import com.opensymphony.xwork2.ActionSupport;

public class LoginAction2 extends ActionSupport {
  
	private User user;
	
	public String login() {
		
		System.out.println(user.getUsername());
		
		return SUCCESS;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	
}
